package com.zust.zst.common.vo.login;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 登录成功返回信息
 * @author gavin
 * @date 2022/11/14 13:02
 */
@ApiModel(value = "登录成功返回信息")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class LoginVO {

    @ApiModelProperty(value = "工号/学号", required = true, example = "10001")
    private Integer uid;

    @ApiModelProperty(value = "姓名", required = true, example = "张三")
    private String username;

    @ApiModelProperty(value = "用户类型", required = true, example = "1")
    private Integer type;

    @ApiModelProperty(value = "本次登录token", required = true)
    private String token;

}
